package com.jwsoft.manager.common.vo.eduDataTaskDetail;

import com.bifang.assistant.common.vo.BasePageVO;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据备份任务详情表QueryVO
 *
 * @author zhiyuan
 * @since 2023-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduDataTaskDetailQueryVO", title = "数据备份任务详情表查询VO", description = "数据备份任务详情表查询实体类")
public class EduDataTaskDetailQueryVO extends BasePageVO {

    @Schema(name = "taskDetailId",description = "任务详情id")
    private String taskDetailId;

    @Schema(name = "taskId",description = "任务id")
    private String taskId;

    @Schema(name = "handleTable",description = "操作表名")
    private String handleTable;

    @Schema(name = "migrationTable",description = "备份表名")
    private String migrationTable;

    @Schema(name = "tempTable",description = "临时表名")
    private String tempTable;

    @Schema(name = "year",description = "年度")
    private Integer year;

    @Schema(name = "migrationCount",description = "迁移数量")
    private Integer migrationCount;

    @Schema(name = "migrationStatus",description = "迁移状态 0待迁移  1迁移成功  2迁移失败")
    private String migrationStatus;

    @Schema(name = "migrationRemarks",description = "迁移备注")
    private String migrationRemarks;

    @Schema(name = "migrationTime",description = "迁移时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date migrationTime;

    @Schema(name = "encryptCount",description = "加密数量")
    private Integer encryptCount;

    @Schema(name = "encryptStatus",description = "加密状态 0待加密  1加密成功  2加密失败")
    private String encryptStatus;

    @Schema(name = "encryptRemarks",description = "加密备注")
    private String encryptRemarks;

    @Schema(name = "encryptTime",description = "加密时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date encryptTime;

    @Schema(name = "cleanCount",description = "销毁数量")
    private Integer cleanCount;

    @Schema(name = "cleanStatus",description = "历史数据销毁状态 0待销毁  1销毁成功  2销毁失败")
    private String cleanStatus;

    @Schema(name = "cleanRemarks",description = "销毁备注")
    private String cleanRemarks;

    @Schema(name = "cleanTime",description = "销毁时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cleanTime;

    @Schema(name = "tempCleanCount",description = "临时数据销毁数量")
    private Integer tempCleanCount;

    @Schema(name = "tempCleanStatus",description = "临时数据清空状态 0待销毁  1销毁成功  2销毁失败")
    private String tempCleanStatus;

    @Schema(name = "tempCleanRemarks",description = "临时数据清空备注")
    private String tempCleanRemarks;

    @Schema(name = "tempCleanTime",description = "临时数据清空时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tempCleanTime;
}
